package com.gcd.service;

import com.gcd.model.Course;
import com.gcd.model.Reserve;
import com.gcd.model.searchModel.CourseSearchModel;

import java.util.List;

public interface ReserveCourseService {
    List<CourseSearchModel> reserveCourse(CourseSearchModel course);

    // 课程列表
    List<String> courseList();

    //添加预约记录
    boolean addReserveRecord(Reserve reserve);

    // 查询预约记录
    Integer reserveRecord(Integer memberId, Integer courseId);

    //判断用户是否为VIP
    boolean isVip(Integer memberId);


}
